package com.champ.demo.repository;

import com.champ.demo.entity.User;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface UserJpaRepository extends JpaRepository<User,Long>, JpaSpecificationExecutor<User> {
    List<User> findByfx(Specification<User> spec);
}
